﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Khaibaokho.ascx.cs" Inherits="Khaibaokho" %>
<%@ Register src="uscTitleForm.ascx" tagname="uscTitleForm" tagprefix="uc1" %>
<%@ Register src="uscMsgBox.ascx" tagname="uscMsgBox" tagprefix="uc2" %>
<script type="text/javascript">
     function pageLoad() {
      $("#<%= ib_taomoi.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
        $("#<%= ib_luu.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
        $("#<%= ib_timkiem.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
        
        
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
                function EndRequestHandler(sender, args) {
                        $.unblockUI();
                }
        }  
   
</script> 
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <uc1:uscTitleForm ID="uscTitleForm2" runat="server" Messeage="Khai Báo Kho" />
     <asp:Panel ID="Panel1" runat="server" BackColor="#EBEBEB" Height="33px" 
            Width="100%" BorderStyle="None">
             <asp:ImageButton ID="ib_taomoi" runat="server" ImageUrl="~/image/Document.png" 
                onclick="ib_taomoi_Click" Width="25px" Height="25px" />
                    <asp:ImageButton ID="ib_luu" runat="server" ImageUrl="~/image/Save.png" 
                onclick="ib_luu_Click" Width="25px" Height="25px" />
                    <asp:ImageButton ID="ib_timkiem" runat="server" ImageUrl="~/image/Find.png" 
                onclick="ImageButton5_Click" Width="25px" Height="25px" />
      </asp:Panel>
        <table width="100%">
            <tr>            
                
                <td colspan="2" align="left">
                    <asp:Label ID="Label9" runat="server" Font-Size="small" >Trung Tâm Phân Phối </asp:Label>
                </td>
                
            </tr>           
            <tr>
                <td class="style14">
                    <asp:DropDownList ID="Dd_timkiemkho" runat="server" Width="264px" 
                Visible="False" 
                onselectedindexchanged="Dd_timkiemkho_SelectedIndexChanged" Height="22px" 
                AutoPostBack="True">
                    </asp:DropDownList>
                    <asp:Label ID="lb_ketquatim" runat="server" Text="."></asp:Label>
                </td>
            </tr>
            <tr>
                <td >
                    <asp:Label ID="Label1" runat="server" Text="Mã"></asp:Label>
                </td>
                <td >
                    <asp:TextBox ID="tb_makho" runat="server" Width="361px"></asp:TextBox>
                </td>
               
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Tên "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="tb_tenkho" runat="server" Width="361px"></asp:TextBox>
                </td>                
            </tr>
            
        </table>
        <uc2:uscMsgBox ID="uscMsgBox1" runat="server" />
    </ContentTemplate>
</asp:UpdatePanel>
